/**
 * anji-allways.com Inc.
 * Copyright (c) 2006-2016 All Rights Reserved.
 */
package cn.zhiwen.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * <pre>
 * CRUD实体类
 * </pre>
 * @author guocheng
 * @version $Id: BaseEntity.java, v 0.1 2017年4月29日 下午2:00:40 guocheng Exp $
 */
public class BaseBusinessEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    //@Column(name = "create_user_id")
    private Long              createUserId;

    //@Column(name = "create_time")
    private Date              createTime;

    //@Column(name = "update_user_id")
    private Long              updateUserId;

    //@Column(name = "update_time")
    private Date              updateTime;

    //@Column(name = "description")
    private String            description;

    /**
     * Getter method for property <tt>createUserId</tt>.
     * @return property value of createUserId
     */
    public Long getCreateUserId() {
        return createUserId;
    }

    /**
     * Setter method for property <tt>createUserId</tt>.
     * @param createUserId
     *            value to be assigned to property createUserId
     */
    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    /**
     * Getter method for property <tt>createTime</tt>.
     * @return property value of createTime
     */
    public Date getCreateTime() {
        return createTime == null ? null : (Date) createTime.clone();
    }

    /**
     * Setter method for property <tt>createTime</tt>.
     * @param createTime
     *            value to be assigned to property createTime
     */
    public void setCreateTime(Date createTime) {
        if (createTime == null) {
            this.createTime = null;
        } else {
            this.createTime = (Date) createTime.clone();
        }
    }

    /**
     * Getter method for property <tt>updateUserId</tt>.
     * @return property value of updateUserId
     */
    public Long getUpdateUserId() {
        return updateUserId;
    }

    /**
     * Setter method for property <tt>updateUserId</tt>.
     * @param updateUserId
     *            value to be assigned to property updateUserId
     */
    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    /**
     * Getter method for property <tt>updateTime</tt>.
     * @return property value of updateTime
     */
    public Date getUpdateTime() {
        return updateTime == null ? null : (Date) updateTime.clone();
    }

    /**
     * Setter method for property <tt>updateTime</tt>.
     * @param updateTime
     *            value to be assigned to property updateTime
     */
    public void setUpdateTime(Date updateTime) {
        if (updateTime == null) {
            this.updateTime = null;
        } else {
            this.updateTime = (Date) updateTime.clone();
        }
    }

    /**
     * Getter method for property <tt>description</tt>.
     * @return property value of description
     */
    public String getDescription() {
        return description;
    }

    /**
     * Setter method for property <tt>description</tt>.
     * @param description
     *            value to be assigned to property description
     */
    public void setDescription(String description) {
        this.description = description;
    }

}
